import axios from '../axios'
// 获取分中心客户分配策略列表
export const  ownshipbranchcenter= (params) => {
    return axios ({
        url: '/branchCenterAssignStrategy/queryList',
        method:'get',
        params   
    })
}
// 添加分中心
export const  addbranchCenterAssignStrategy= (params) => {
    return axios ({
        url: '/branchCenterAssignStrategy/add',
        method:'get',
        params   
    })
}
// 分中心用户策略用户关闭启用
export const  branchCenterOpen= (params) => {
    return axios ({
        url: '/branchCenterAssignStrategy/open',
        method:'get',
        params   
    })
}

// 分中心添加
export const  addBranchCenterInfo= (data) => {
    return axios ({
        url: '/branchcenter/addBranchCenterInfo',
        method:'post',
        data   
    })
}
// 查询分中心管理分中心列表
export const  branchcenterList= (params) => {
    return axios ({
        url: '/branchcenter/pageList',
        method:'get',
        params   
    })
}
// 查询大区经理
export const  querySignRep= (params) => {
    return axios ({
        url: '/branchcenter/querySignRep',
        method:'get',
        params   
    })
}
// 更新分中心状态
export const  updateStatus= (params) => {
    return axios ({
        url: '/branchcenter/updateStatus',
        method:'post',
        params   
    })
}
// 编辑分中心
export const  updateBranchCenterInfo= (data) => {
    return axios ({
        url: '/branchcenter/updateBranchCenterInfo',
        method:'post',
        data   
    })
}
// 重置分中心账号密码
export const  resetPassword= (params) => {
    return axios ({
        url: '/branchcenter/resetPassword',
        method:'post',
        params   
    })
}